package com.bigdata.appliance.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 用户地址表
 * </p>
 *
 * @author appliance-shop
 * @since 2023-12-23
 */
@Data
@ApiModel(value = "Address对象", description = "用户地址表")
public class Address implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户编号")
    private Long userId;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("联系人")
    private String name;

    @ApiModelProperty("联系人电话")
    private String phone;
}
